﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Setup.Entities;
using Domain.Scheduling.Entities;

namespace Domain.Scheduling.Services.Contracts
{
    
    public class StaffShiftDomainService : IStaffShiftDomainService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="assignStaffMember"></param>
        /// <param name="toShift"></param>
        /// <returns></returns>
        public StaffShift AssignStaffMemberToShift(StaffMember assignStaffMember, Shift toShift)
        {
            
            StaffShift newStaffShift = new StaffShift();
            newStaffShift.AllocatedShift = toShift;
            newStaffShift.AllocatedStaffMember = assignStaffMember;

            //TODO : Build rules here
            return newStaffShift;
            
        }
    }
}
